package view;

import java.util.ArrayList;
import java.util.List;

public class MenuGroup {
	private String id;
	private String title;
	List<MenuItem> items = new ArrayList<MenuItem>();
	
	public MenuGroup(String id, String title){
		this.id = id;
		this.title = title;
	}

	public void AddItem(MenuItem item){
		items.add(item);
	}
	
	public MenuGroup(){
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public List<MenuItem> getItems() {
		return items;
	}
	public void setItems(List<MenuItem> items) {
		this.items = items;
	}
}
